-- use_slime_skill
-- created by panyl
-- 施放技能

return {
    doAction = function(action)
        local pos = action.pos;
        local id = action.data;

        if pos > GRID_SIZE then
            pos = -1;
        end

        return SlimeSkillM.apply(pos, id);
    end,
};
